package cn.wolfcode.luowowo.article.domain;

import cn.wolfcode.luowowo.common.domain.BaseDomain;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 门票票价
 */
@Setter
@Getter
public class TicketDetail extends BaseDomain {
    // 门票类型
    public static final int MAN_TICKET = 1;
    public static final int CHILDREN_TICKET = 0;
    // 销售状态
    public static final int SAL_MORAL = 1;
    public static final int SAL_DELETE = 0;

    // 门票类型
    private int type;
    // 门票介绍
    private String title;
    // 门票景点
    private Ticket ticket;
    // 正常票价
    private BigDecimal price;
    // 售价
    private BigDecimal saleprice;
    // 折扣
    private BigDecimal discount;
    // 预售时间
    private String reservetime;
    // 是否正常销售
    private int status = SAL_MORAL;

}